package LearnInheritance;

public class PrimaryStudent extends Student{
    protected int grade;

    public PrimaryStudent(String name, int age, int score, int grade) {
        super(name,age,score);
        this.grade = grade;
    }

    public int getGrade() {
        return this.grade;
    }
}
